﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp5
{
    class Program
    {
        static void Main(string[] args)
        {
            Car a = new Car(10, 3);
            Truck b = new Truck(10, 6);
            a.Run(1);
            b.Run(1);
            Console.ReadKey();
        }
    }
}
